On Formalizing UML State Machines Using ASMs

نویسندگان

  • Egon Börger
  • Alessandra Cavarra
  • Elvinia Riccobene
چکیده

UML (Unified Modeling Language [1]) is a standard notation based on a set of diagrams to describe the structure and the behavior of software systems. In [2] the authors claim that “UML is more than just a graphical language. Rather, behind every part of its graphical notation there is a specification that provides a textual statement of the syntax and semantics of that building block”. However, the UML semantics document [1] only gives an unambiguous textual definition of the syntax for the UML notations and leaves the behavioral content of various UML constructs largely open. The necessity to develop the UML as a precise (i.e. well defined) modeling language is widely felt [11,10,24] and the pUML (precise UML) group has been created to achieve this goal [23]. With this paper we want to survey previous work [3–5] done to provide a precise definition of some basic concepts of UML which are related to the dynamics of systems. Technical details are left out for lack of space but they are duly referenced. Our goal here is to discuss a framework for the rigorous description and analysis of different possible logically consistent interpretations of the intuitions which underly UML concepts: how (a) it faithfully reflects the original intuitions as far as possible; (b) it makes the so-called semantic variations points explicit; (c) clarifies some dark but semantically relevant points in the UML documents. This includes the event deferring and completion mechanism, the meaning of atomic and durative actions, concurrent internal activities and conflict situations which may arise through the concurrent behavior of active objects. We develop this framework for one of the principal diagram types which are used in UML for the description of system behavior, namely statecharts or UML state machines.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Integrating UML Static and Dynamic Views and Formalizing the Interaction Mechanismof UML State Machines

In this paper we address the problem of integrating UML static and dynamic views, and different behavioral views. We tackle these problems by providing (a) a mapping of UML metamodel static and behavioral elements into ASMs and (b) a precise compositional semantics for state machines. Structural model elements are translated into an ASM vocabulary as collections of domains and functions. The dy...

متن کامل

An ASM Semantics for UML Activity Diagrams

We provide a rigorous semantics for one of the central diagram types which are used in UML for the description of dynamical system behavior, namely activity diagrams. We resolve for these diagrams some of the ambiguities which arise from different interpretations of UML models. Since we phrase our definition in terms of Abstract State Machines, we define at the same time an interesting subclass...

متن کامل

Mapping UML into Abstract State Machines: A Framework to Simulate UML Models

The paper presents a simulation framework for UML models based upon a mapping schema of UML metamodel elements into Abstract State Machines (ASMs). Structural model elements are translated into an ASM vocabulary as collections of domains and functions, whereas the dynamic view is captured by multi-agent ASMs reflecting the behavior modelled by UML state machines. In our toolkit, input UML model...

متن کامل

Modeling the Dynamics of UML State Machines

We define the dynamic semantics of UML State Machines which integrate statecharts with the UML object model. The use of ASMs allows us (a) to rigorously model the event driven run to completion scheme, including the sequential execution of entry/exit actions (along the structure of state nesting) and the concurrent execution of internal activities; (b) to formalize the object interaction, by co...

متن کامل

TIK Report 136 The Formal Definition of Anlauff’s eXtensible Abstract State Machines

eXtensible Abstract State Machines (XASM) [1, 4, 2, 3] has been designed and implemented by Anlauff as formal development tool for the Montages project. Unfortunately a formal semantics of XASM has not been given up to now. We streamline Anlauff’s original design and present a denotational semantics, complementing the existing informal description. In fact we found that XASM implement a semanti...

متن کامل

Management of UML Clusters

Software engineering uses UML diagrams as a standard technique for specification and development of software. Various UML diagrams are used for specification of different aspects of the application. Their interpretation, extension, revision and integration becomes awful difficult if developers use the full freedom of UML, apply their own semantics and do not agree an common parts. We propose an...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003